import Clothes from '../components/clothes'
import Home from '../components/home/index'
import { Navigate } from 'react-router-dom'
import Searchs from '../components/search'
const router = [
    {
        path:'/',
        element:<Navigate to='home'></Navigate>
    },
    {
        path:'/home',
        element:<Home />,
        children:[
            {
                path:'/home/clothes/:id',
                element:<Clothes />,
            }
        ]
    },
    {
        path:'/search',
        element:<Searchs />
    }
]
export default router